/**
*@项目名称: architect-study
*@文件名称: OperateCount.java
*@Date: 2019年2月11日
*@Copyright: 2019 www.abing.tech Inc. All rights reserved.
*/

package tech.abing.as.concurrent.isaliveOtherTest;

/**
 * 
 * @author qibing.huang
 * @date 2019年2月11日
 */
public class OperateCount extends Thread {
	
	public OperateCount() {
		System.out.println("OperateCount ---begin");
		
		System.out.println("Thread.currentThread().getName()=" + Thread.currentThread().getName());
		System.out.println("this.currentThread().getName()=" + this.currentThread().getName());
		System.out.println("this.getName()=" + this.getName());
		System.out.println("Thread.currentThread().isAlive()=" + Thread.currentThread().isAlive());
		System.out.println("this.isAlive()=" + this.isAlive());
		
		System.out.println("OperateCount ---end");
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Thread#run()
	 */
	@Override
	public void run() {
		// TODO Auto-generated method stub
		super.run();
		
		System.out.println("run ---begin");
		
		System.out.println("Thread.currentThread().getName()=" + Thread.currentThread().getName());
		System.out.println("this.getName()=" + this.getName());
		System.out.println("Thread.currentThread().isAlive()=" + Thread.currentThread().isAlive());
		System.out.println("this.isAlive()=" + this.isAlive());
		
		System.out.println("run ---end");
	}

}
